Quick introduction to git

Alonso

Zuse Institute Berlin

What is Git?

——— {.center}

%%{init: {
  'theme': 'base',
  'gitGraph': {'showCommitLabel': false, 'parallelCommits': true}
  } }%%
gitGraph
   commit id: "Initial commit" tag: "Initial"
   commit
   commit tag: "Pretty figures"
   commit
   commit tag: "Journal submission"

——– {.center}

%%{init: {
  'theme': 'base',
  'gitGraph': {'showCommitLabel': false, 'parallelCommits': true}
  } }%%
gitGraph
   commit id: "Initial commit" tag: "Initial"
   commit
   branch Sebastian
   checkout Sebastian
   commit tag: "Nice figures"
   checkout main
   branch Alonso
   checkout Alonso
   commit
   checkout main
   merge Sebastian
   checkout Alonso
   commit tag: "Code speedup"
   checkout Sebastian
   commit
   checkout main
   merge Alonso
   merge Sebastian
   commit tag: "Journal submission"

References

Chacon, Scott. n.d. Pro Git. Apress.